import { createRouter, createWebHistory } from 'vue-router'
import { routers } from './routerViews'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: routers
})

// router.beforeEach((to, from, next) => {
//   next('');
// })

export default router
